from flask import Flask,render_template

app = Flask(__name__)

@app.template_filter('cut')
def cut(value):
    value = value.replace('吕布','')
    return value

#路由地址
@app.route('/')
def index():
    info = '我叫吕布，我来自吕布，我爱吕布'
    return render_template('index08.html',info=info)

if __name__ == '__main__':
    #启动web应用服务
    app.run(debug=True)